package copyengine.arm.aneFunction;

import com.adobe.fre.FREContext;
import com.adobe.fre.FREFunction;
import com.adobe.fre.FREObject;
import copyengine.log.CELog;

public class CEAmrRecordFunction implements FREFunction
{
    @Override
    public FREObject call(FREContext freContext, FREObject[] freObjects)
    {
        try
        {
            String mFunctionName = freObjects[0].getAsString();
            if (mFunctionName.equals("start"))
            {
            }
            else if (mFunctionName.equals("stop"))
            {
            }
            else
            {
                CELog.err("Call CEAmrRecordFunction but unknown functionName : " + mFunctionName);
            }
        } catch (Exception e)
        {
            CELog.log("CEAmrRecordFunction failed with error:\n \"%s\"\n" + e.toString());
        }
        return null;
    }
}
